import request from '@/utils/request';

/**
 * 获取登录用户所能看到的树形机构
 * @param {*} pageParam
 */
export const getUserTree = () => {
  return request({
    url: '/ext/org/getUserTree',
    data: {},
    method: 'post'
  });
};
/**
 * 获取登录用户所能看到的树形机构
 * @param {*} pageParam
 */
export const getUserOrgMax = () => {
  return request({
    url: '/ext/org/getUserOrgMax',
    data: {},
    method: 'post'
  });
};
